package com.bike.bikeserver.service;

import com.bike.bikeserver.common.core.domain.CommonResult;
import com.bike.bikeserver.domain.BikeRequest;
import com.bike.bikeserver.domain.vo.BikeRequestVo;

/**
 * @version 1.0
 * @Author ZZX
 * @Date 2023/7/9 22:05
 */
public interface IBikeRequestService
{
    public CommonResult sendRequest(BikeRequestVo bikeRequestVo);

    public CommonResult applyDispatchRequest(BikeRequestVo bikeRequestVo);

    public CommonResult getRequestListByNickName(String nickName);

    public CommonResult getRequestsByNickName(String nickName);

    public CommonResult getBikeRequestList();

    public CommonResult editBikeRequestById(BikeRequest bikeRequest);

    public CommonResult deleteBikeRequestById(BikeRequest bikeRequest);

    public CommonResult getBikeRequestByNameOfBack(String requestApplier);

    public CommonResult applyRequestToDispatch(BikeRequest bikeRequest);
}
